let reportManage = [
  /** 生产绩效 */
  // 员工工时统计
  {
    path: '/employeeHourCount',
    name: 'employeeHourCount',
    component(resolve) {
      require(['../view/reportManage/productionPerformance/employeeHourCount/EmployeeHourCount'], resolve)
    },
    meta: {
      keepAlive: true,
      menuItem: 'employeeHourCount',
      subMenu: 'productionPerformance',
      rootDir: 'reportManage',
      title: '员工工时统计'
    }
  },
  // 工单消耗工时统计
  {
    path: '/workOrderExpendTime',
    name: 'workOrderExpendTime',
    component(resolve) {
      require(['../view/reportManage/productionPerformance/workOrderExpendTime/WorkOrderExpendTime'], resolve)
    },
    meta: {
      keepAlive: true,
      menuItem: 'workOrderExpendTime',
      subMenu: 'productionPerformance',
      rootDir: 'reportManage',
      title: '工单消耗工时统计'
    }
  },
  /** 综合查询 */
  // 车间信息总览
  {
    path: '/workshopSummary',
    name: 'workshopSummary',
    component(resolve) {
      require(['../view/reportManage/comprehensiveQuery/workshopSummary/WorkshopSummary'], resolve)
    },
    meta: {
      keepAlive: true,
      menuItem: 'workshopSummary',
      subMenu: 'comprehensiveQuery',
      rootDir: 'reportManage',
      title: '车间信息总览'
    }
  },
  // 现场问题类型统计
  {
    path: '/problemTypeCount',
    name: 'problemTypeCount',
    component(resolve) {
      require(['../view/reportManage/comprehensiveQuery/problemTypeCount/ProblemTypeCount'], resolve)
    },
    meta: {
      keepAlive: true,
      menuItem: 'problemTypeCount',
      subMenu: 'comprehensiveQuery',
      rootDir: 'reportManage',
      title: '现场问题类型统计'
    }
  },
  // 员工送检合格率
  {
    path: '/staffQuanlifiedRate',
    name: 'staffQuanlifiedRate',
    component(resolve) {
      require(['../view/reportManage/comprehensiveQuery/staffQuanlifiedRate/StaffQuanlifiedRate'], resolve)
    },
    meta: {
      keepAlive: true,
      menuItem: 'staffQuanlifiedRate',
      subMenu: 'comprehensiveQuery',
      rootDir: 'reportManage',
      title: '员工送检合格率'
    }
  },
  // 洁净间数据查询
  {
    path: '/cleanRoomData',
    name: 'cleanRoomData',
    component(resolve) {
      require(['../view/reportManage/comprehensiveQuery/cleanRoomData/CleanRoomData'], resolve)
    },
    meta: {
      keepAlive: true,
      menuItem: 'cleanRoomData',
      subMenu: 'comprehensiveQuery',
      rootDir: 'reportManage',
      title: '作业环境数据查询'
    }
  },
  // 数据超规格报警
  {
    path: '/overrunAlarm',
    name: 'overrunAlarm',
    component(resolve) {
      require(['../view/reportManage/comprehensiveQuery/overrunAlarm/OverrunAlarm'], resolve)
    },
    meta: {
      keepAlive: true,
      menuItem: 'overrunAlarm',
      subMenu: 'comprehensiveQuery',
      rootDir: 'reportManage',
      title: '数据超规格报警'
    }
  },
  // 开完工时间异常任务
  {
    path: '/timeAbnormalTask',
    name: 'timeAbnormalTask',
    component(resolve) {
      require(['../view/reportManage/comprehensiveQuery/timeAbnormalTask/TimeAbnormalTask'], resolve)
    },
    meta: {
      keepAlive: true,
      menuItem: 'timeAbnormalTask',
      subMenu: 'comprehensiveQuery',
      rootDir: 'reportManage',
      title: '开完工时间异常任务'
    }
  },
  // 车间负荷
  {
    path: '/workshopLoad',
    name: 'workshopLoad',
    component(resolve) {
      require(['../view/reportManage/comprehensiveQuery/workshopLoad/WorkshopLoad'], resolve)
    },
    meta: {
      keepAlive: true,
      menuItem: 'workshopLoad',
      subMenu: 'comprehensiveQuery',
      rootDir: 'reportManage',
      title: '车间负荷查询'
    }
  },
  // 班组负荷
  {
    path: '/workgroupLoad',
    name: 'workgroupLoad',
    component(resolve) {
      require(['../view/reportManage/comprehensiveQuery/workgroupLoad/WorkgroupLoad'], resolve)
    },
    meta: {
      keepAlive: true,
      menuItem: 'workgroupLoad',
      subMenu: 'comprehensiveQuery',
      rootDir: 'reportManage',
      title: '班组负荷查询'
    }
  },
  // 工作中心负荷查询
  {
    path: '/workcenterLoad',
    name: 'workcenterLoad',
    component(resolve) {
      require(['../view/reportManage/comprehensiveQuery/workcenterLoad/WorkcenterLoad'], resolve)
    },
    meta: {
      keepAlive: true,
      menuItem: 'workcenterLoad',
      subMenu: 'comprehensiveQuery',
      rootDir: 'reportManage',
      title: '工作中心负荷查询'
    }
  },
]

export default reportManage
